﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="DataStore"
                   namespace="DataStore.Domain">
  <class name="Country" table="Country">
    <id name="Id" column="CountryId" type="Guid">
      <generator class="guid" />
    </id>
    <property name="Name" type="String" />
    <property name="Code" type="String" />
    <many-to-one name="Language" column="Country" class="Language" />
    <many-to-one name="Flag" column="Owner" class="Link" />
  </class>
</hibernate-mapping>